package com.wanjia.seal.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanjia.seal.manager.entity.SysRoleMenu;
import com.wanjia.seal.manager.entity.SysUserRole;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {


    @Select("select 'role_id' from SYS_USER_ROLE where 'user_id'=#{UserId}")
    List<SysUserRole> getRoleIdByUserId(Integer UserId);
}
